<?php $this->beginContent('//layouts/front_header'); ?>
<!--导航 start-->
<div class="company_nav mem_bgx w_990 o_a">
	<div class="nav_l mem_bgx f_l"></div>
    <div class="nav_r mem_bgx f_r"></div>
    <div class="txt_r f_r ff_s mr10">
    	<?php echo CHtml::link('查看我的店铺>>',Company::model()->findByPk(Company::model()->getCmpUserId())->domain,array('class'=>'c_white'))?>
    </div>
    <ul class="main_nav f_l">
    	<?php 
    		$this->widget('zii.widgets.CMenu', array(
				'items'=>Nav::model()->getTopMenu('1',Yii::app()->getController()->id),
				'htmlOptions'=>array('class'=>"main_nav c_f f_l"),
				'itemCssClass'=>'item',
				'firstItemCssClass'=>'item first',
				'activeCssClass'=>'cur item',
    		));
    	?>
    </ul>
</div>
<!--导航 end-->
<div class="hr_10"></div>
<!--正文start-->
<div class="w_990 o_a company_center">
	<div class="col_sub f_l">
    	<div class="sub_list">
            <div class="list_box">
            	<ul id="curchange">
            	<?php foreach(Nav::model()->getMenu('1',Yii::app()->getController()->id) as $itemMenu ){
		            	$this->beginWidget('zii.widgets.CPortlet', array(
		            		'title'=>'<h3 class="c_666 click"><span class="mem_ico ico_fold"></span>'.$itemMenu['title'].'</h3>',
							'tagName'=>'li',
							'htmlOptions'=>array('class'=>'box open'),
		            	));
						if(isset($itemMenu['items'])){
							$this->widget('zii.widgets.CMenu', array(
								'items'=>$itemMenu['items'],
								'itemCssClass'=>'item',
								'activeCssClass'=>'cur item',
							));
						}
						$this->endWidget();
				}?>
                </ul>
            </div>
        </div>
    </div>
    <div class="col_main f_r">
        <?php if(isset($this->breadcrumbs)):?>
			<?php $this->widget('zii.widgets.CBreadcrumbs', array(
				'links'=>$this->breadcrumbs,
				'separator'=>' > ',
				'htmlOptions'=>array('class'=>'position'),
			)); ?><!-- breadcrumbs -->
		<?php endif?>
  		<?php echo $content; ?>
    </div>
</div>
<!--正文end-->
<div class="hr_30"></div>
<!--底部start-->
<div class="footer">
    <div class="w_990 o_a">
    	<div class="foot_nav t_c"><a href="javascript:" title="">硅家宝首页</a><a href="javascript:" title="">关于硅家宝</a><a href="javascript:" title="">广告服务</a><a href="javascript:" title="">合作伙伴</a><a href="javascript:" title="">客服中心</a><a href="javascript:" title="">人才招聘</a><a href="javascript:" title="">联系我们</a><a href="javascript:" title="">网站地图</a><a class="no_border" href="javascript:" title="">法律声明</a></div>
        <div class="foot_m t_c">
            <div class="foot_info">
            	<p class="txt c_999 line_28">咨询热线：0755-8888 8888&nbsp;&nbsp;&nbsp;&nbsp;邮箱：kdjfkew@126.com<br />网络文化经营许可证：文网文[2010]040号 Copyright &copy; 2003-2012 鑫银特集团有限公司 版权所有</p>
                <p class="img"><a href="javascript:" title=""><img src="/images/foot_img1.png" alt="" /></a><a href="javascript:" title=""><img src="/images/foot_img2.png" alt="" /></a><a href="javascript:" title=""><img src="/images/foot_img3.png" alt="" /></a><a href="javascript:" title=""><img src="/images/foot_img4.png" alt="" /></a><a href="javascript:" title=""><img src="/images/foot_img5.png" alt="" /></a></p>
            </div>
        </div>
    </div>
</div>
<!--底部end-->
<?php $this->endContent(); ?>